﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;

using Game.Common;

namespace Game.Types
{
    public class ReadOnlyWeaponTypeCollection : ReadOnlyDictionary<string, WeaponType>
    {
        public ReadOnlyWeaponTypeCollection(WeaponTypeCollection collection)
            : base(collection)
        {
        }
        
    }
    
    public class WeaponTypeCollection : Dictionary<string, WeaponType>
    {
        public ReadOnlyWeaponTypeCollection GetReadOnly()
        {
            return new ReadOnlyWeaponTypeCollection(this);
        }
    }
}
